package com.feicheng.persistence.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.persistence.entity.Client;
import com.feicheng.persistence.model.ClientMain;
import com.feicheng.persistence.model.VoucherRecordMain;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-14
 */
public interface IClientService extends IService<Client> {

    Page<ClientMain> getClientsByPage(Page<ClientMain> page, QueryWrapper<ClientMain> wrapper);

    List<ClientMain> getClientById(QueryWrapper<ClientMain> queryWrapper);

    List<ClientMain> clientVipDetails(QueryWrapper<ClientMain> queryWrapper);
    List<ClientMain> clientDepositDetails(QueryWrapper<ClientMain> queryWrapper);
    List<ClientMain> clientOrderDetails(QueryWrapper<ClientMain> queryWrapper);




    List<VoucherRecordMain> getVoucherRecordById(QueryWrapper<VoucherRecordMain> queryWrapper);




}
